<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Formulaire</title>
        <link href="css/bootstrap.css" rel="stylesheet" type="text/css"/>
    </head>

    <body>
        <div class="container">
            <h1> Student Information</h1>
            <form:form class="form-horizontal" role="form" method="POST" action="result.html">
                
                <div class="form-group">
                    <form:label path="id" class="col-sm-2 control-label">Id</form:label>
                    <div class="col-sm-10">
                        <form:input type="text" class="form-control" path="id" 
                               placeholder="Enter Id"/>
                    </div>
                </div>
                
                <div class="form-group">
                    <form:label path="name" class="col-sm-2 control-label">Name</form:label>
                    <div class="col-sm-10">
                        <form:input type="text" class="form-control" path="name" 
                               placeholder="Enter Name"/>
                    </div>
                </div>
                    
                <div class="form-group">
                    <form:label path="address" class="col-sm-2 control-label">Address</form:label>
                    <div class="col-sm-10">
                        <form:input type="text" class="form-control" path="address" 
                               placeholder="Enter Address"/>
                    </div>
                </div>
                
                
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-danger">Sign in</button>
                    </div>
                </div>
            </form:form>


        </div>

    </body>
</html>
